import 'package:fish_redux/fish_redux.dart';
import 'package:school_safe_teacher/me/entity/userEntity.dart';

class MeState implements Cloneable<MeState> {

  String header;
  String teacherName;
  UserEntity userEntity;

  @override
  MeState clone() {
    return MeState()
    ..header = header
      ..userEntity=userEntity
    ..teacherName = teacherName;

  }
}

MeState initState(Map<String, dynamic> args) {
  return MeState()
  ..teacherName = '登陆｜注册'
    ..userEntity=UserEntity()
  ..header = "";
}
